<!-- 首页 -->
<template>
	<view class="container">
		<view class="w-rich">
			<mp-html :content="activeInfo.content"></mp-html>
		</view>
	</view>
</template>

<script>
	export default {
		name:"",
		data() {
			return {
				activeInfo:{} // 活动详情
			}
		},
		onLoad(query) {
			this.getRecommendActiveDetail(query.id)
		},
		methods: {
			// 获取赛事详情
			getRecommendActiveDetail(id) {
				this.$http.getRecommendActiveDetail({
					id
				}).then(res => {
					this.activeInfo = res
				
				})
			},
			getActiveApplyDetail(id){
				this.$http.getActiveApplyDetail({apply_id:id}).then(res=>{
					this.active = res
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.container{
		
	}
</style>
